From c9b841f4e9381c90fbdf9099353bf5f3dedb73e0 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Wed, 26 Oct 2005 01:40:49 +0000 Subject: [PATCH] Compiler warning fixed --- gpsbabel/cet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpsbabel/cet.c b/gpsbabel/cet.c index a08febfc7..4b8890882 100644 --- a/gpsbabel/cet.c +++ b/gpsbabel/cet.c @@ -72,10 +72,10 @@ int cet_ucs4_to_utf8(char *dest, size_t dest_size, int value) { int result; - char trash[16]; + unsigned char trash[16]; unsigned char *c; - c = (dest != NULL) ? dest : trash; + c = (dest != NULL) ? (unsigned char *) dest : trash; if ((value & 0xffffff80) == 0) /* <= 7 bits */ { -- 2.30.2